import API from '@renderer/api/constant'
import { mock } from '@renderer/mocks/index'

const mockScan = () => {
  mock.onPost(API.getPatientList).reply(200, {
    code: 200,
    msg: 'success',

  })

// mock.onPost(API.enterScanMode).reply(200, {
//   code: 0,
//   msg: '机架仍在旋转',
// })

  mock.onPost(API.enterScanMode).reply(200, {
    code: 200,
    msg: 'success',
  })

}

export {
  mockScan
}
